SUPPORT / SAMPLES & SAS NOTES
 

Support

Installation Note 50203: How to install the Spelling Correction server as a Windows service with SAS® Enterprise Case Management or SAS® Enterprise GRC

DetailsAboutRate It

If you use the Spelling Correction server with SAS Enterprise Case Management or SAS Enterprise GRC on a Windows operating system, you can install the Spelling Correction server as a Windows service.



In your install depot, there is the following file:

third_party\SAS_Spelling_Correction\1_2\Portable_Entities\spelling-server.zip.

If you unzip that file, there is the following directory:

TeragramSpellingServer\bin\win32\.

Inside that directory are two files: _tgwinsvc_wrapper.exe and msvcr71.dll.



To install the Spelling Correction server as a Windows service:

  1. Create a new permanent directory to hold the two files _tgwinsvc_wrapper.exe and msvcr71.dll, on the same machine where you run the Spelling Correction server.
  2. Copy the two files to the new permanent directory.
  3. As a Windows administrator, open a DOS prompt and go to the new permanent directory.
  4. From the DOS prompt, run the following command from the new permanent directory:
    _tgwinsvc_wrapper.exe --install SASSpellingCorrection --child "C:\Program Files\SASSpellingServer\TeragramSpellingServer\bin\win64_icl_mt\_spelling_server.exe" --arg --port --arg 9000 --arg --spelling-config --arg data\spelling.config --arg --http-admin-port --arg 8123 --working-directory "C:\Program Files\SASSpellingServer\TeragramSpellingServer"

    (The DOS prompt does not display any output, but a window is displayed that says the service was installed.)

    In the above command:

    • For the --install argument value, you can specify a different name for the service if you do not want the service to be called SASSpellingCorrection.
    • For the --child argument, use the full path to the _spelling_server.exe file. Use double quotation marks around the path if there are spaces in the path.
    • Replace the port value if you do not use the default port 9000.
    • Replace the http-admin-port value if you do not use the default port 8123.
    • For the --working-directory argument, use the full path to the directory containing the Spelling Correction bin directory. Use double quotation marks around the path if there are spaces in the path.

You can start and stop the service from the Windows Services window, or by using the commands:

net start SASSpellingCorrection

and

net stop SASSpellingCorrection

replacing SASSpellingCorrection with your name for the service.



You can uninstall the service using the command

_tgwinsvc_wrapper.exe --uninstall SASSpellingCorrection

from the same directory where you ran the "_tgwinsvc_wrapper.exe --install" command, replacing SASSpellingCorrection with your name for the service.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GRCMicrosoft® Windows® for x645.1
Microsoft Windows 8 Ent5.1
Microsoft Windows 8 Pro5.1
Microsoft Windows 95/985.1
Microsoft Windows 2000 Advanced Server5.1
Microsoft Windows 2000 Datacenter Server5.1
Microsoft Windows 2000 Server5.1
Microsoft Windows 2000 Professional5.1
Microsoft Windows NT Workstation5.1
Microsoft Windows Server 2003 Datacenter Edition5.1
Microsoft Windows Server 2003 Enterprise Edition5.1
Microsoft Windows Server 2003 Standard Edition5.1
Microsoft Windows Server 2003 for x645.1
Microsoft Windows Server 20085.1
Microsoft Windows Server 2008 R2 for x645.1
Microsoft Windows Server 2008 for x645.1
Microsoft Windows Server 2012 Datacenter5.1
Microsoft Windows Server 2012 Std5.1
Microsoft Windows XP Professional5.1
Windows 7 Enterprise 32 bit5.1
Windows 7 Enterprise x645.1
Windows 7 Home Premium 32 bit5.1
Windows 7 Home Premium x645.1
Windows 7 Professional 32 bit5.1
Windows 7 Professional x645.1
Windows 7 Ultimate 32 bit5.1
Windows 7 Ultimate x645.1
Windows Millennium Edition (Me)5.1
Windows Vista5.1
Windows Vista for x645.1
SAS SystemSAS Enterprise Case ManagementWindows Vista for x643.1
Windows Vista3.1
Windows Millennium Edition (Me)3.1
Windows 7 Ultimate x643.1
Windows 7 Ultimate 32 bit3.1
Windows 7 Professional x643.16.19.4 TS1M0
Windows 7 Professional 32 bit3.1
Windows 7 Home Premium x643.1
Windows 7 Home Premium 32 bit3.1
Windows 7 Enterprise x643.16.19.4 TS1M0
Windows 7 Enterprise 32 bit3.1
Microsoft Windows XP Professional3.1
Microsoft Windows Server 2012 Std3.16.19.4 TS1M0
Microsoft Windows Server 2012 Datacenter3.16.19.4 TS1M0
Microsoft Windows Server 2008 for x643.16.19.4 TS1M0
Microsoft Windows Server 2008 R2 for x643.16.19.4 TS1M0
Microsoft Windows Server 20083.1
Microsoft Windows Server 2003 for x643.1
Microsoft Windows Server 2003 Standard Edition3.1
Microsoft Windows Server 2003 Enterprise Edition3.1
Microsoft Windows Server 2003 Datacenter Edition3.1
Microsoft Windows NT Workstation3.1
Microsoft Windows 2000 Professional3.1
Microsoft Windows 2000 Server3.1
Microsoft Windows 2000 Datacenter Server3.1
Microsoft Windows 2000 Advanced Server3.1
Microsoft Windows 95/983.1
Microsoft Windows 8 Pro3.16.19.4 TS1M0
Microsoft Windows 8 Ent3.16.19.4 TS1M0
Microsoft® Windows® for x643.16.19.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.